﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace Furion.Models
{
    public class PortfolioViewModel
    {
        public List<PortFolioDropDownList> DropDowns { get; set; }
        public List<EntityGrid> GridData { get; set; }

        public PortfolioViewModel()
        {
            DropDowns = new List<PortFolioDropDownList>();
            GridData = new List<EntityGrid>();            
        }
    }

    public class PortFolioDropDownList
    {
        public string Id { get; set; }
        public string DropDownName { get; set; }
        public List<SelectListItem> EntityDropDown { get; set; }

        public PortFolioDropDownList()
        {
            EntityDropDown = new List<SelectListItem>();
        }
    }

    public class EntityGrid
    {
        public int portfolioId { get; set; }
        public string EntityType { get; set; }
        public string Name { get;set;}
        public string Code { get;set;}
        public string Currency { get;set;}
        public string Country { get;set;}
        public string FundManager { get;set;}
        public string AssetClass { get; set; }
        public string ApprovedDate { get; set; }
        public string DataLoad { get; set; }
        public string InvestmentDesk { get; set; }
    }
  
    public class AutoCompleteEnity
    {
        public string Entity { get; set; }
        public string EntityDesc { get; set; }
        public string EntityType { get; set; }
    }

}